package com.woniu.dto;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

@Data
@ColumnWidth(15)
public class OrderExportDTO {

    @ExcelProperty("订单编号")
    private String orderId;

    @ExcelProperty("客户姓名")
    private String customerName;

    @ExcelProperty("手机号")
    private String phone;

    @ExcelProperty("金额(元)")
    private BigDecimal amount;

    @ExcelProperty("状态")
    private String status;

    @ExcelProperty("下单时间")
    private LocalDateTime createTime;
}